package com.sbwebsocket.core.service;


import com.sbwebsocket.core.model.bo.UnusualMessage;

/**
 * 异常离线用户消息处理
 * @Auther: GSJ
 * @Date: 2022/2/16
 * @Description:
 * @version: 1.0
 */
public interface UnusualMessageManager {

    /**
     * 保存异常离线用户消息
     * @param jsonMsg
     */
    boolean save(String jsonMsg);

    /**
     * 重发用户消息
     * @param msg
     * @return
     */
    boolean reput(UnusualMessage msg);

    /**
     * 重发用户消息
     * @param jsonMsg
     * @return
     */
    boolean reput(String jsonMsg);

    boolean save(UnusualMessage unusualMessage);
   
}
